const baseUrlObj = {

    dev: 'http://47.109.84.212:48080',
    local: 'http://127.0.0.1:48080',
}

const baseFileUrlObj = {
    dev: 'http://47.109.84.212:48080/admin-api/infra/file/upload',
    local: 'http://127.0.0.1:48080/admin-api/infra/file/upload',
}

const exportObj = {
    baseUrl: baseUrlObj.dev,
    baseFileUrl: baseFileUrlObj.dev,
    ROLE_ROUTERS: 'roleRouters',
    USER: 'user',
    // 系统设置
    IS_DARK: 'isDark',
    LANG: 'lang',
    THEME: 'theme',
    LAYOUT: 'layout',
    DICT_CACHE: 'dictCache',
    // 登录表单
    LoginForm: 'loginForm',
    TenantId: 'tenantId',
    tenantId: 1,
    requestTimeout: 30000,
    resultCode: 200,
    defaultHeaders: 'application/json'
};

export const $config = exportObj